import request from '@/utils/request';
export const reg = (data) => {
  return request({
    method: 'post',
    url: '/api/reg',
    data
  });
};

export const Login = (data) => {
  return request({
    method: 'post',
    url: '/api/login',
    data
  });
};
